﻿using LibraryManagement.Custom_Controls;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace LibraryManagement.Search
{
    public partial class SrcMemberSearch : libForm
    {
        private LibManagementEntities context;
        public SrcMemberSearch()
        {
            InitializeComponent();
            context = new LibManagementEntities();
        }

        private void SrcMemberSearch_Load(object sender, EventArgs e)
        {
            dgvMembers.DataSource = context.MemberDetails.ToList();
        }
    }
}
